package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.SubjectLessonVideo;
import com.dingreading.cloud.common.base.R;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2025-10-09
 */
public interface SubjectLessonVideoService extends IService<SubjectLessonVideo> {

    R<Object> getList(String lessonUid);

    R<Object> updateEnabled(String staffUid, String staffName, String uid, Integer enabled);

    SubjectLessonVideo getByUid(String uid);

    R<Object> add(String staffUid, String staffName, String lessonUid, String url, String name, Integer videoType);

    List<SubjectLessonVideo> listByLessonUidIn(List<String> lessonUidList);
}
